package com.manpower.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * MpRenshi entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "mp_renshi", catalog = "manpower")
public class MpRenshi implements java.io.Serializable {

	// Fields

	private String id;
	private MpDept mpDept;
	private MpPosition mpPosition;
	private String renshiZhuangtai;
	private String renshiName;
	private String renshiSex;
	private String renshiEmail;
	private String renshiPhone;
	private String renshiAdress;
	private String renshiShenfen;
	private String renshiHukou;
	private String renshiMianmiao;
	private String renshiXuexiao;
	private String renshiZhuanye;
	private String renshiXueli;
	private String renshiPayStandrdId;
	private String renshiKaihu;
	private String renshiBankId;
	private String renshiShebao;
	private String renshiCreatuser;
	private Timestamp renshiCteattime;
	private String renshiLvli;
	private String renshiFamily;
	private String renshiRemarks;
	private String renshiImgurl;

	// Constructors

	/** default constructor */
	public MpRenshi() {
	}

	/** minimal constructor */
	public MpRenshi(String id) {
		this.id = id;
	}

	/** full constructor */
	public MpRenshi(String id, MpDept mpDept, MpPosition mpPosition,
			String renshiZhuangtai, String renshiName, String renshiSex,
			String renshiEmail, String renshiPhone, String renshiAdress,
			String renshiShenfen, String renshiHukou, String renshiMianmiao,
			String renshiXuexiao, String renshiZhuanye, String renshiXueli,
			String renshiPayStandrdId, String renshiKaihu, String renshiBankId,
			String renshiShebao, String renshiCreatuser,
			Timestamp renshiCteattime, String renshiLvli, String renshiFamily,
			String renshiRemarks, String renshiImgurl) {
		this.id = id;
		this.mpDept = mpDept;
		this.mpPosition = mpPosition;
		this.renshiZhuangtai = renshiZhuangtai;
		this.renshiName = renshiName;
		this.renshiSex = renshiSex;
		this.renshiEmail = renshiEmail;
		this.renshiPhone = renshiPhone;
		this.renshiAdress = renshiAdress;
		this.renshiShenfen = renshiShenfen;
		this.renshiHukou = renshiHukou;
		this.renshiMianmiao = renshiMianmiao;
		this.renshiXuexiao = renshiXuexiao;
		this.renshiZhuanye = renshiZhuanye;
		this.renshiXueli = renshiXueli;
		this.renshiPayStandrdId = renshiPayStandrdId;
		this.renshiKaihu = renshiKaihu;
		this.renshiBankId = renshiBankId;
		this.renshiShebao = renshiShebao;
		this.renshiCreatuser = renshiCreatuser;
		this.renshiCteattime = renshiCteattime;
		this.renshiLvli = renshiLvli;
		this.renshiFamily = renshiFamily;
		this.renshiRemarks = renshiRemarks;
		this.renshiImgurl = renshiImgurl;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "renshi_dept_id")
	public MpDept getMpDept() {
		return this.mpDept;
	}

	public void setMpDept(MpDept mpDept) {
		this.mpDept = mpDept;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "renshi_position_id")
	public MpPosition getMpPosition() {
		return this.mpPosition;
	}

	public void setMpPosition(MpPosition mpPosition) {
		this.mpPosition = mpPosition;
	}

	@Column(name = "renshi_zhuangtai", length = 200)
	public String getRenshiZhuangtai() {
		return this.renshiZhuangtai;
	}

	public void setRenshiZhuangtai(String renshiZhuangtai) {
		this.renshiZhuangtai = renshiZhuangtai;
	}

	@Column(name = "renshi_name", length = 200)
	public String getRenshiName() {
		return this.renshiName;
	}

	public void setRenshiName(String renshiName) {
		this.renshiName = renshiName;
	}

	@Column(name = "renshi_sex", length = 200)
	public String getRenshiSex() {
		return this.renshiSex;
	}

	public void setRenshiSex(String renshiSex) {
		this.renshiSex = renshiSex;
	}

	@Column(name = "renshi_email", length = 200)
	public String getRenshiEmail() {
		return this.renshiEmail;
	}

	public void setRenshiEmail(String renshiEmail) {
		this.renshiEmail = renshiEmail;
	}

	@Column(name = "renshi_phone", length = 20)
	public String getRenshiPhone() {
		return this.renshiPhone;
	}

	public void setRenshiPhone(String renshiPhone) {
		this.renshiPhone = renshiPhone;
	}

	@Column(name = "renshi_adress", length = 200)
	public String getRenshiAdress() {
		return this.renshiAdress;
	}

	public void setRenshiAdress(String renshiAdress) {
		this.renshiAdress = renshiAdress;
	}

	@Column(name = "renshi_shenfen", length = 20)
	public String getRenshiShenfen() {
		return this.renshiShenfen;
	}

	public void setRenshiShenfen(String renshiShenfen) {
		this.renshiShenfen = renshiShenfen;
	}

	@Column(name = "renshi_hukou", length = 200)
	public String getRenshiHukou() {
		return this.renshiHukou;
	}

	public void setRenshiHukou(String renshiHukou) {
		this.renshiHukou = renshiHukou;
	}

	@Column(name = "renshi_mianmiao", length = 200)
	public String getRenshiMianmiao() {
		return this.renshiMianmiao;
	}

	public void setRenshiMianmiao(String renshiMianmiao) {
		this.renshiMianmiao = renshiMianmiao;
	}

	@Column(name = "renshi_xuexiao", length = 200)
	public String getRenshiXuexiao() {
		return this.renshiXuexiao;
	}

	public void setRenshiXuexiao(String renshiXuexiao) {
		this.renshiXuexiao = renshiXuexiao;
	}

	@Column(name = "renshi_zhuanye", length = 200)
	public String getRenshiZhuanye() {
		return this.renshiZhuanye;
	}

	public void setRenshiZhuanye(String renshiZhuanye) {
		this.renshiZhuanye = renshiZhuanye;
	}

	@Column(name = "renshi_xueli", length = 10)
	public String getRenshiXueli() {
		return this.renshiXueli;
	}

	public void setRenshiXueli(String renshiXueli) {
		this.renshiXueli = renshiXueli;
	}

	@Column(name = "renshi_pay_standrd_id", length = 36)
	public String getRenshiPayStandrdId() {
		return this.renshiPayStandrdId;
	}

	public void setRenshiPayStandrdId(String renshiPayStandrdId) {
		this.renshiPayStandrdId = renshiPayStandrdId;
	}

	@Column(name = "renshi_kaihu", length = 200)
	public String getRenshiKaihu() {
		return this.renshiKaihu;
	}

	public void setRenshiKaihu(String renshiKaihu) {
		this.renshiKaihu = renshiKaihu;
	}

	@Column(name = "renshi_bank_id", length = 30)
	public String getRenshiBankId() {
		return this.renshiBankId;
	}

	public void setRenshiBankId(String renshiBankId) {
		this.renshiBankId = renshiBankId;
	}

	@Column(name = "renshi_shebao", length = 30)
	public String getRenshiShebao() {
		return this.renshiShebao;
	}

	public void setRenshiShebao(String renshiShebao) {
		this.renshiShebao = renshiShebao;
	}

	@Column(name = "renshi_creatuser", length = 36)
	public String getRenshiCreatuser() {
		return this.renshiCreatuser;
	}

	public void setRenshiCreatuser(String renshiCreatuser) {
		this.renshiCreatuser = renshiCreatuser;
	}

	@Column(name = "renshi_cteattime", length = 19)
	public Timestamp getRenshiCteattime() {
		return this.renshiCteattime;
	}

	public void setRenshiCteattime(Timestamp renshiCteattime) {
		this.renshiCteattime = renshiCteattime;
	}

	@Column(name = "renshi_lvli", length = 200)
	public String getRenshiLvli() {
		return this.renshiLvli;
	}

	public void setRenshiLvli(String renshiLvli) {
		this.renshiLvli = renshiLvli;
	}

	@Column(name = "renshi_family", length = 200)
	public String getRenshiFamily() {
		return this.renshiFamily;
	}

	public void setRenshiFamily(String renshiFamily) {
		this.renshiFamily = renshiFamily;
	}

	@Column(name = "renshi_remarks", length = 200)
	public String getRenshiRemarks() {
		return this.renshiRemarks;
	}

	public void setRenshiRemarks(String renshiRemarks) {
		this.renshiRemarks = renshiRemarks;
	}

	@Column(name = "renshi_imgurl", length = 200)
	public String getRenshiImgurl() {
		return this.renshiImgurl;
	}

	public void setRenshiImgurl(String renshiImgurl) {
		this.renshiImgurl = renshiImgurl;
	}

}